/*
 * Copyright (c) 2025 CAX Conversion Project
 */
package com.comac.ins.isfd.domain.bo;

import com.comac.ins.common.core.validate.AddGroup;
import com.comac.ins.common.core.validate.EditGroup;
import com.comac.ins.common.mybatis.core.domain.BaseEntity;
import com.comac.ins.isfd.domain.IsfdModelManagementCalculateRefLoad;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 计算文件记录和载荷关联关系业务对象 isfd_model_management_calculate_ref_load
 *
 * @author Lion Li
 * @date 2024-08-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = IsfdModelManagementCalculateRefLoad.class, reverseConvertGenerate = false)
public class IsfdModelManagementCalculateRefLoadBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 计算文件表记录表id
     */
    @NotNull(message = "计算文件表记录表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long calculateId;

    /**
     * 载荷表id
     */
    @NotNull(message = "载荷表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long loadId;


}
